﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using YJYpublicClass.DataStruct;

namespace WindowsFormsApp2.PLC
{
    public class PLCconfig
    {
        public string Ipaddress { get; set; } = "192.168.6.2";
        public int port { get; set; } = 502;
        //地址相关 { get; set; } = new DiZhi_C("M", 601, 0, "总初始化");
       // public string _相机心跳_地址M { get; set; } = "500";
        public DiZhi_C _相机心跳_地址M { get; set; } = new DiZhi_C("M", 500, 0, "相机心跳");

        public DiZhi_C _相机1轴盖拍照_地址M { get; set; } = new DiZhi_C("M", 502);
        public DiZhi_C _相机1中节拍照_地址M { get; set; } = new DiZhi_C("M", 503);
        public DiZhi_C _相机1端盖拍照_地址M { get; set; } = new DiZhi_C("M", 504);

        public DiZhi_C _相机1轴盖完成_地址M { get; set; } = new DiZhi_C("M", 505);
        public DiZhi_C _相机1中节完成_地址M { get; set; } = new DiZhi_C("M", 506);
        public DiZhi_C _相机1端盖完成_地址M { get; set; } = new DiZhi_C("M", 507);
        public DiZhi_C _相机1轴盖结果NG_地址M { get; set; } = new DiZhi_C("M", 508);
        public DiZhi_C _相机1中节结果NG_地址M { get; set; } = new DiZhi_C("M", 509);
        public DiZhi_C _相机1端盖结果NG_地址M { get; set; } = new DiZhi_C("M", 510);


        public DiZhi_C _相机1轴盖结果数据_地址DF { get; set; } = new DiZhi_C("D",10);
        public DiZhi_C _相机1中节结果数据_地址DF { get; set; } = new DiZhi_C("D", 14);
        public DiZhi_C _相机1端盖结果数据_地址DF { get; set; } = new DiZhi_C("D", 18);



        public DiZhi_C _相机2轴盖拍照_地址M { get; set; } = new DiZhi_C("M", 520);
        public DiZhi_C _相机2中节拍照_地址M { get; set; } = new DiZhi_C("M", 521);
        //public string _相机2端盖拍照_地址M { get; set; } = "920";

        public DiZhi_C _相机2轴盖完成_地址M { get; set; } = new DiZhi_C("M", 523);
        public DiZhi_C _相机2中节完成_地址M { get; set; } = new DiZhi_C("M", 524);
        // public string _相机2端盖完成_地址M { get; set; } = "920";
        public DiZhi_C _相机2轴盖结果NG_地址M { get; set; } = new DiZhi_C("M", 526); 
        public DiZhi_C _相机2中节结果NG_地址M { get; set; } = new DiZhi_C("M", 527);
        //public string _相机2端盖结果NG_地址M { get; set; } = "920";

        public DiZhi_C _相机2轴盖结果数据_地址DF { get; set; } = new DiZhi_C("D", 10);
        public DiZhi_C _相机2中节结果数据_地址DF { get; set; } = new DiZhi_C("D", 14);
        public DiZhi_C _相机2端盖结果数据_地址DF { get; set; } = new DiZhi_C("D", 18);

        // public string _相机3轴盖拍照_地址M { get; set; } = "920";
        public DiZhi_C _相机3中节拍照_地址M { get; set; } = new DiZhi_C("M", 531);
        public DiZhi_C _相机3端盖拍照_地址M { get; set; } = new DiZhi_C("M", 532);

        // public string _相机3轴盖完成_地址M { get; set; } = "920";
        public DiZhi_C _相机3中节完成_地址M { get; set; } = new DiZhi_C("M", 534);
        public DiZhi_C _相机3端盖完成_地址M { get; set; } = new DiZhi_C("M", 535);
        // public string _相机3轴盖结果NG_地址M { get; set; } = "920";
        public DiZhi_C _相机3中节结果NG_地址M { get; set; } = new DiZhi_C("M", 537);
        public DiZhi_C _相机3端盖结果NG_地址M { get; set; } = new DiZhi_C("M", 538);

    }
}
